package com.file.filter;

import java.io.File;
import java.io.FileFilter;
/**
 * *********************************************
 * @author Administrator
 * @FileName XMLSelectFileFilter.java
 * @Description 过滤xmlFilter
 **********************************************
 */
public class XMLSelectFileFilter implements FileFilter {

	@Override
	public boolean accept(File pathname) {
		String fileName = pathname.getName();
		return fileName.endsWith(".xml") ? true : false;
	}

}
